package com.taiyuan.tongcheng.bean;

import java.io.Serializable;

/**
 * 
 * @author Administrator
 * 分页的信息数据
 */
public class PageInfo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private int pageIndex;//当前页码
	private int pageNumber;//页面内的条数
	private int count;//总条数
	private int pageCount;//总页数
	
	public int getPageIndex() {
		return pageIndex;
	}
	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}
	public int getPageNumber() {
		return pageNumber;
	}
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	
	
    @Override
    public String toString() {
    	return "pageIndex="+pageIndex
    			+"pageNumber="+pageNumber
    			+"count="+count
    			+"pageCount="+pageCount;
    }
	
}
 